package state.state.impl;

import state.OrderContext;
import state.state.OrderState;

/**
 * 具体状态：订单取消
 * @author Liu Yicong
 * @date 2025/9/25
 */
public class CancelledState implements OrderState {
	@Override
	public void processOrder(OrderContext context) {
		System.out.println("订单已取消");
	}

	@Override
	public void cancelOrder(OrderContext context) {
		System.out.println("订单已取消，无法再次取消。");
	}
}
